/*
 * [legal notice here]
 */
package com.hexacta.hrs.report.dtos;

/**
 * DTO del reporte general de dias pendientes para recuperar para el iReport.
 * 
 * Created on May 18, 2009
 * 
 * @author iandronowicz
 * 
 */

public class CompensationDaysReportDTO implements Comparable<CompensationDaysReportDTO> {

    private String employeeName;

    private Integer qCompensationDays;

    /**
     * @return the employeeName
     */
    public String getEmployeeName() {
        return employeeName;
    }

    /**
     * @param employeeName
     *            the employeeName to set
     */
    public void setEmployeeName(final String employeeName) {
        this.employeeName = employeeName;
    }

    /**
     * @return the qCompensationDays
     */
    public Integer getQCompensationDays() {
        return qCompensationDays;
    }

    /**
     * @param compensationDays
     *            the qCompensationDays to set
     */
    public void setQCompensationDays(final Integer compensationDays) {
        qCompensationDays = compensationDays;
    }

    /**
     * {@inheritDoc}
     */
    public int compareTo(final CompensationDaysReportDTO arg0) {
        return arg0.getQCompensationDays().compareTo(getQCompensationDays());
    }
}
